package com.samphanie.ane.common.exception;

/**
 * @Description: 断言处理类，用于抛出各种API异常
 * @Author ZSY
 * @createTime 2021/3/11 20:19
 */
public class Asserts {

    public static void fail(String message){
        throw new ApiException(message);
    }

    public static void fail(IErrorCode errorCode){
        throw new ApiException(errorCode);
    }

}
